# CMake 最低版本号要求
cmake_minimum_required (VERSION 2.8)
# 手动加入文件
SET(SRC_LIST main.c)
MESSAGE(STATUS "THIS IS BINARY " ${PROJECT_BINARY_DIR})
MESSAGE(STATUS "THIS IS SOURCE " ${PROJECT_SOURCE_DIR})
MESSAGE(STATUS "THIS IS CMAKE CMAKE_CURRENT_SOURCE_DIR " ${CMAKE_CURRENT_SOURCE_DIR})

ADD_EXECUTABLE(cmake-demo ${SRC_LIST})
ADD_EXECUTABLE(cmake-demo2 ${SRC_LIST})